 

// 制造业产业、技术品牌库
function getsBrandCategoryStorages() {
  // var loadIndex = layer.load(2);
  let datas = {
    url: '/api/brand_category/storages',
    http_type: 'POST',
    datas: {}
  };
  wxx.HttpReqeust(datas, function (response) {
    // layer.close(loadIndex)
    if (response.code == 1) {
      let data = response.data;
      for (let i = 0; i < data.length; i++) {
        let tr = $(
          `<li class="list_li"><a href=""> <div class="icon_box"><img src="${data[i].image ? data[i].image : '../../images/content/relation.png'}"/></div> <div class="type_names ov1">${
            data[i].name
          }</div></a> </li>`
        );
        $('.list_ul').append(tr);
      }
    } else {
      layer.alert(response.msg, { title: '温馨提示' });
    }
  });
}
// 制造业专区品牌库
function getsBrandCategorySubs(parent_id) {
  // var loadIndex = layer.load(2);
  let datas = {
    url: '/api/brand_category/subs',
    http_type: 'POST',
    datas: {
      parent_id
    }
  };
  wxx.HttpReqeust(datas, function (response) {
    // layer.close(loadIndex)
    if (response.code == 1) {
      let data = response.data;
      for (let i = 0; i < data.length; i++) {
        let zq = $(`<li class="r_m_lis ov1">${data[i].name}</li>`);
        $('.zqpp').append(zq);
      }
    } else {
      layer.alert(response.msg, { title: '温馨提示' });
    }
  });
  // getsBrandCategorySubs(9);
}
// 制造业专区品牌库
function getsBrandCategorySubs9(parent_id) {
  // var loadIndex = layer.load(2);
  let datas = {
    url: '/api/brand_category/subs',
    http_type: 'POST',
    datas: {
      parent_id
    }
  };
  wxx.HttpReqeust(datas, function (response) {
    // layer.close(loadIndex)
    if (response.code == 1) {
      let data = response.data;
      for (let i = 0; i < data.length; i++) {
        let zq = $(`<li class="r_m_lis ov1">${data[i].name}</li>`);
        $('.sppp').append(zq);
      }
    } else {
      layer.alert(response.msg, { title: '温馨提示' });
    }
  });
}
// $(document).ready(function () {
  getsBrandCategoryStorages();
  getsBrandCategorySubs(8);
  getsBrandCategorySubs9(9);
// });